package com.rc.evcharger.model.discount;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.evcharger.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" tenant_discount_policy ", description=" 运营商优惠方案（discount_hub） ")
public class TenantDiscountPolicy extends BaseModel {

    @ApiModelProperty(value = "ID")
    private Long discountPolicyId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "优惠政策名称")
    private String policyName;
 
    @ApiModelProperty(value = "优惠政策说明")
    private String policyDesc;
 
    @ApiModelProperty(value = "站点ID")
    private Long elecStationId;
 
    @ApiModelProperty(value = "优惠类型, 0服务费打折 1 特定服务费（活动价） 2总价打折  3专用价格(优惠的优先级最高) 默认0")
    private String discountType;
 
    @ApiModelProperty(value = "优惠用户类型 0 全部 1指定用户 2企业用户  3.互联互通用户(反向外部互联)")
    private String policyMemberType;
 
    @ApiModelProperty(value = "主会员memberID")
    private Long enterpriseMemberId;
 
    @ApiModelProperty(value = "互联互通memberId")
    private Long hlhtMemberId;
 
    @ApiModelProperty(value = "默认0.整天 1.分时段 2阶梯电量(默认是全天折扣)")
    private Integer timeType;
 
    @ApiModelProperty(value = "优惠活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    @ApiModelProperty(value = "优惠活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "启用状态 0未开始 1进行中 2已结束 3已禁止 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getDiscountPolicyId() {
        return discountPolicyId;
    }

    public void setDiscountPolicyId(Long discountPolicyId) {
        this.discountPolicyId = discountPolicyId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public String getPolicyDesc() {
        return policyDesc;
    }

    public void setPolicyDesc(String policyDesc) {
        this.policyDesc = policyDesc;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType;
    }

    public String getPolicyMemberType() {
        return policyMemberType;
    }

    public void setPolicyMemberType(String policyMemberType) {
        this.policyMemberType = policyMemberType;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public Long getHlhtMemberId() {
        return hlhtMemberId;
    }

    public void setHlhtMemberId(Long hlhtMemberId) {
        this.hlhtMemberId = hlhtMemberId;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
